From: Keir Fraser Date: Thu, 10 Apr 2008 15:17:28 +0000 (+0100) Subject: hvm: Fix a typo in p2m.c. X-Git-Tag: archive/raspbian/4.8.0-1+rpi1~1^2~14231^2~26 X-Git-Url: https://dgit.raspbian.org/%22http:/www.example.com/cgi/%22https://%22%22/%22http:/www.example.com/cgi/%22https:/%22%22?a=commitdiff_plain;h=c02f50263fd0a6fc908205ef6b9b3d13d6cd9d6a;p=xen.git hvm: Fix a typo in p2m.c. Spotted by Xiao Wang Signed-off-by: Keir Fraser --- diff --git a/xen/arch/x86/mm/p2m.c b/xen/arch/x86/mm/p2m.c index 13bfada811..97d92880bb 100644 --- a/xen/arch/x86/mm/p2m.c +++ b/xen/arch/x86/mm/p2m.c @@ -941,7 +941,7 @@ void p2m_change_type_global(struct domain *d, p2m_type_t ot, p2m_type_t nt) mfn = l1e_get_pfn(l1e[i1]); gfn = get_gpfn_from_mfn(mfn); /* create a new 1le entry with the new type */ - flags = p2m_flags_to_type(nt); + flags = p2m_type_to_flags(nt); l1e_content = l1e_from_pfn(mfn, flags); paging_write_p2m_entry(d, gfn, &l1e[i1], l1mfn, l1e_content, 1);